package NovelBar.mapper;

import NovelBar.entity.Notice;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface NoticeMapper {
    List<Notice> loadAllNotice();
    void insertNotice(Notice notice);
    void deleteNoticeById(Integer id);
    void updateNotice(Notice notice);
}
